<?php

namespace api\controllers;


use yii\web\Controller;
use bc\controller\FrontController;
use bc\ar\MActiveRecord;

class TestController extends FrontController
{
	
	public function actionIndex()
	{
// 		$record = new MActiveRecord();
// 		$record->getDb()->createCommand("delete from bc_cheese.zsmm_login where userId = (SELECT id FROM bc_cheese.`zsmm_user` WHERE `regId` = '15000816720')")->execute();
// 		$sql = 'DELETE FROM bc_cheese.zsmm_user WHERE regId = "18701867469" ';
// 		$record->getDb()->createCommand($sql)->execute();
		
		echo 'done';
	}
}

